#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
	int a, b;
	cin >> a >> b;
	if (b) cout << "-" <<endl;
	else {
		if(!a) cout << "biii" << endl;
		else if(a==1) cout << "dudu" << endl;
		else cout << "-" << endl;
	}
	if (a==0||a==2) cout << "stop" << endl;
	else cout << "move" << endl;
	return 0;
}
